package com.steakliu.gateway.service;

import com.steakliu.gateway.dao.RouteDao;
import com.steakliu.gateway.definition.GatewayRouteDefinition;
import com.steakliu.gateway.dto.RouteDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RouteServiceImpl implements RouteService{
    @Autowired
    private RouteDao routeDao;
    @Override
    public void save() {

    }

    @Override
    public List<RouteDto> list() {
        return routeDao.list();
    }
}
